package com.bike.bikeserver.service;

import com.bike.bikeserver.common.core.domain.CommonResult;
import com.bike.bikeserver.domain.Rewards;

/**
 * @version 1.0
 * @Author ZZX
 * @Date 2023/7/11 15:33
 */
public interface IRewardsService
{
    public CommonResult getRewardsList();

    public CommonResult getRewardsForHistory();

    public CommonResult exchangeRewardsByNickName(String nickName, Integer rewardsId);

    public CommonResult getRewardsLikeName(String rewardsName);

    public CommonResult editRewardsById(Rewards rewards);

    public CommonResult deleteRewardsById(Rewards rewards);

    public CommonResult addRewards(Rewards rewards);
}
